package com.hfzy.ihk.common.core.elasticsearch.anotations;

import java.lang.annotation.*;

/**
 * Created by Administrator on 2018/6/7.
 *
 * @author wws
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface BestDoSupport {

    boolean needDoOperation() default true;

    /**
     * 暂不支持
     * */
    boolean needSendKafkaMessage() default false;

    /**
     * 是否必须返回成功才进行操作
     * */
    boolean needReturnSuccess() default true;
}
